package cn.quevo.core.exception;

import cn.quevo.core.enums.ResultStatusEnum;

/**
 * 分页异常
 *
 * @author July july_sky@foxmail.com
 * @date 2018-03-09 14:15:29
 * @Copyright ©2015-2035 湘豫(北京)科技有限公司. All Rights Reserved.
 * @version 1.0
 * @return
 */
public class PageParamsException extends CheckParamsException {

    /**
     * 
     */
    private static final long serialVersionUID = -469472810524678976L;

    public PageParamsException() {
        super(ResultStatusEnum.PAGE_PARAMS_ERROR);
    }

    public PageParamsException(String msg) {
        this(ResultStatusEnum.PAGE_PARAMS_ERROR.getCode(), msg);
    }

    public PageParamsException(Integer status, String msg) {
        super(status, msg);
    }
}
